<include file="Common/header" />
<title>栏目管理</title>
<style>
.norag { border: none !important; font-weight: normal !important }
</style>
</head>
<body>
<nav class="breadcrumb">
<div class="menu_4">
    <a href="{:U('index')}">模型管理</a>
    <a href="{:U('add_model')}"  class="active">创建新模型</a> 
     </div>
  <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新">
  <i class="Hui-iconfont"></i></a>
  </nav>
<div class="pd-20">
  <div class="wrap J_check_wrap">
    <div class="h_a">创建模型</div>
     
     <div class="table_full">
      <form method="post" class="add_model" action="">
        <table cellpadding="0" cellspacing="0" width="100%" class="table table-hover table-bg">
          <tbody>
                            <!--字符-->
                <tr>
                  <th width="140">模型名称:</th>
                  <td><input type="text" class="input-text" name="name" ajaxurl="{:U('check_model',array('id'=>$modelid))}" datatype='*' value="{$name}">
                    <span class="gray" style="color:#9F9F9F"> &nbsp; </span></td>
                </tr>
                                <!--字符-->
                <tr>
                  <th width="140">模型表键名:</th>
                  <td><input type="text" class="input-text" name="tablename" ajaxurl="{:U('check_model',array('id'=>$modelid))}" value="{$tablename}" datatype="/[A-Za-z]/i">
                    <span class="gray" style="color:#9F9F9F"> &nbsp; (表名必须是英文,不能重复)</span></td>
                </tr>
                                <!--文本-->
                <tr>
                  <th width="140">描述:</th>
                  <td><textarea name="description" class="textarea" style="width:380px; height:150px;">{$description}</textarea>
                  <span class="gray" style="color:#9F9F9F"> &nbsp; </span>
                    </td>
                </tr>
       
  
          </tbody>
        </table>
  
        
         <div style=" margin-top:20px;">
         <button type="submit" class="btn btn-success radius">提交信息</button>
        
          </div>  
      </form>
    </div>
     
  </div>
</div>
 
<script type="text/javascript">
$(function(){
 $(".add_model").Validform({ tiptype:3});
  
 
})
</script>
<include file="Common/foot" />
</body>
</html>